package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Role;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.qo.QueryObject;

import java.util.List;

public interface IRoleService {



    int deleteByPrimaryKey(Long id);

    int insert(Role role);

    Role selectByPrimaryKey(Long id);

    List<Role> selectAll();

    int updateByPrimaryKey(Role record);

    void saveorupdate(Role role, Long[] ids, Long[] menuIds);

    void delete(Long id);


    PageResult query(QueryObject qo);


}
